import xmlrpclib server = xmlrpclib.ServerProxy('http://localhost:8000') x = server.add(9,6) print (x)